using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using System.Collections;
namespace WindowsGame4
{
    public class StarEmitter : ParticleEmitter
    {
        public StarEmitter()
            : base()
        {
            maxDeviance = 470;
            minDistance = 1;
            maxDistance = 469;
            nEmits = 1;
            maxEmits = 40;
            fadeRate = -1;
            bDieOnFade = false;
            minScale = 1;
            maxScale = 5;
            color = new Vector4(1, 1, 1, 0);
            SetEmissionRate(8);
        }
        public override GameObject EmitParticle()
        {
            GameObject obj = new GameObject();
            obj.texture = GameManager.pixel;
            return obj;
        }
        public override void Update(float time)
        {
            base.Update(time);
        }
    }
}
